home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 10
/
AACD 10.iso
/
AACD
/
Magazine
/
Online
/
OpenURL
/
Developer
/
Source
/
prefs_common.c
< prev
next >
Wrap
C/C++ Source or Header
|
1999-09-26
|
850b
|
35 lines
/*
** OpenURL - MUI preferences for openurl.library
** Written by Troels Walsted Hansen <troels@thule.no>
** Placed in the public domain.
**
** This module contains utility functions common to all modules.
*/
#include "prefs_common.h"
#include "prefs_main.h"
/**************************************************************************/
VOID SPrintf(STRPTR to, STRPTR fmt, ...)
{
static ULONG fmtfunc = 0x16C04E75;
RawDoFmt(fmt, &fmt + 1, (APTR)&fmtfunc, to);
}
/**************************************************************************/
LONG xget(Object *obj, ULONG attribute)
{
LONG x;
get(obj, attribute, &x);
return(x);
}
/**************************************************************************/
ULONG __stdargs DoSuperNew(struct IClass *cl, Object *obj, ULONG tag1, ...)
{
return(DoSuperMethod(cl, obj, OM_NEW, &tag1, NULL));
}